﻿/**
 * Proyecto: Cognitum
 * Global IT Services 2008
 * @author Esanantonio
 */
Cognitum.Polizas.SubRamo.Editor = Ext.extend(Karma.EBSimple, {

    initComponent: function(){
        Ext.apply(this, {
            sections: [{
                fieldLabel: 'Clave',
                name: 'Clave'
            }, {
                fieldLabel: 'Nombre',
                name: 'Nombre'
            }, {
                xtype: 'checkbox',
                fieldLabel: 'Es Subramo Flotilla',
                name: 'Flotilla'
            }, {
                fieldLabel: 'Ramo',
                name: 'Ramo',
                entityName: 'Ramos',
                xtype: 'entity.link',
                disabled: true
            }]
        });
        
        Cognitum.Polizas.SubRamo.Editor.superclass.initComponent.apply(this, arguments);
    }
    
});
Ext.reg('subRam.editor', Cognitum.Polizas.SubRamo.Editor);
